home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / cislib_a / bugs6.act < prev    next >
Text File  |  1995-04-22  |  1KB  |  45 lines

  1.  
  2.     ACTION! BUG SHEET #3 - part 6
  3.  
  4. -------------------------------------
  5.  
  6. ACTION OBJECT CODE RELOCATION PROGRAM
  7.  
  8. The program SIMPLREL.ACT on this BBS
  9. may be used to cause an ACTION!
  10. program to load and run at a
  11. different address than that address
  12. at which it was compiled.  The same
  13. program will also work for assembly
  14. language object files, providing you
  15. also follow the given instructions.
  16.  
  17. The program takes two object files as
  18. input and produces a third file which
  19. will load and run at a desired
  20. address.  The relocating program
  21. prompts the user for the two input
  22. files, which must have been compiled
  23. one page (256 bytes) apart.  It then
  24. prompts for an output file name (the
  25. relocated file), the page number of
  26. the starting address of the first
  27. file, and the page number of the
  28. desired destination address.  Both
  29. page numbers must be decimal values.
  30. For example, specifying 32 as the
  31. destination page will cause the
  32. output file to load at address 32*256
  33. ($2000), not $3200.
  34.  
  35. See part V, "The ACTION! Compiler",
  36. chapter 2, page 144, for information
  37. on compiling programs to a specified
  38. address (Used to compile the two
  39. object files one page apart).
  40.  
  41. In order to use the relocating
  42. program, download SIMPLEREL.ACT and
  43. read the instructions therein.
  44.  
  45.